home *** CD-ROM | disk | FTP | other *** search
/ MacFormat 1997 April / macformat-049.iso / mac / How-To's / Apple Scripts / Example Script 2 / Example Script 2.rsrc / TEXT_1128.txt < prev    next >
Encoding:
Text File  |  1996-12-27  |  507 b   |  9 lines

  1. Object of script: To automate the backup of all files in a chosen folder, using two conditions. The following stages are used:
  2.  
  3.     1) Choose the source folder,
  4.     2) Choose the destination folder,
  5.     3)  Make a list of the objects in the source folder,    
  6. 4) Step through each item in the list in turn,
  7. 5) If the current item is not a folder, move to the next step. Otherwise, forget this item and move on to the next.
  8. 6) If the label of the current item is 7 (counting down the menu in the Finder), copy the file.
  9.